﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using automobili_data;

namespace automobili_gui.Public
{
    public partial class SearchMobilePhonesPage : System.Web.UI.Page
    {

        public SearchMobilePhonesPage()
        {
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            User u = SessionUtils.getCurrentUser();
            bool isAuthorizedAccess = false; // SecurityManager.inst.checkSearchPrivilege(u);
            if (!isAuthorizedAccess)
            {
                WebSiteController.onUnauthorizedAccessAttempt();
                // Server.Transfer("~/About.aspx");
            }
        }

        //protected void ButtonSearch_Click(object sender, EventArgs e)
        //{
        //    IList<automobili_data.CellPhone> phones = AutomobiliDataManager.instance.searchCellPhones("", "") ;
        //    GridView1.DataSource = phones;
        //    GridView1.DataBind();
        //}

    }
}